package com.lz.myblog.repository;

import com.lz.myblog.entity.Userinfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserinfoRepository extends JpaRepository<Userinfo ,Integer> {
    //根据管理员用户名查询
    public List<Userinfo> findByUsernameEquals(String username);
}
